package cn.tedu.boot09.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

//得到完整类名或包名快捷键:ctrl+shift+alt+c
@Configuration //设置当前类为配置类,启动工程时会自动运行
@MapperScan("cn.tedu.boot09.mapper") //Mapper扫描注解,省去了每个Mapper接口上面添加@Mapper注解
public class MybatisConfig {
}
